* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  vertical-align: middle;
}

.box {
  width: 1110px;
  height: 247px;
  margin: 20px auto;
}

.box li {
  position: relative;
  float: left;
  width: 350px;
  height: 247px;
  margin-right: 30px;
  overflow: hidden;
}

.box li:last-child {
  margin-right: 0;
}

.box .txt {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  padding: 100px 30px 0 30px;
  transition: 1s;
  transform: translate(0, 30%);
  color: #fff;
}
.box .txt:hover {
  transform: translate(0, 0);
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}
.txt p {
  margin-top: 50px;
}
